package com.linkage.educloud.ah.http;

import com.zhouyou.http.model.ApiResult;

/**
 * <desc>
 * Created by The Moss on 2018/6/11.
 */

public class BaseApiResult<T> extends ApiResult<T> {

    private int ret;
    private String desc;

    @Override
    public int getCode() {
        return ret;
    }

    @Override
    public String getMsg() {
        return desc;
    }

    @Override
    public boolean isOk() {
        return ret == 0?true:false;
    }

}
